package com.warehouse.mapper;

import com.warehouse.entity.ProType;
import com.warehouse.entity.ProTypeExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ProTypeMapper {
    long countByExample(ProTypeExample example);

    int deleteByExample(ProTypeExample example);

    int deleteByPrimaryKey(String id);

    int insert(ProType record);

    int insertSelective(ProType record);

    List<ProType> selectByExample(ProTypeExample example);

    ProType selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ProType record, @Param("example") ProTypeExample example);

    int updateByExample(@Param("record") ProType record, @Param("example") ProTypeExample example);

    int updateByPrimaryKeySelective(ProType record);

    int updateByPrimaryKey(ProType record);
    //查询产品的类型
    List<ProType> findProTyoeInfo();

    List<ProType> findProType(ProType proType);
}